import React, { Component } from 'react'
import SetColor from '../HOC/SetColor';
 class Form extends Component {
  render() {
    return (
      <div>
        <div>用户名 <input/></div>
        <button onClick={()=>{
            this.props.history.push("/");
        }}>登录</button>
      </div>
    )
  }
}

export default SetColor(Form);